/*
 * @Author: Jingtian Zhang
 * @Date: 2021-06-06 19:47:32
 * @LastEditTime: 2021-06-06 21:04:43
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /illuvcoffee/src/coffees/dto/create-coffee.dto.ts
 */

// CreateCoffeeDto
import { IsString } from 'class-validator';

export class CreateCoffeeDto {
  @IsString()
  readonly name: string;
  @IsString()
  readonly brand: string;
  @IsString({ each: true })
  readonly flavors: string[];
}
